package com.jin.domain;

import java.util.Objects;

/**
 * 
 * 判断题
 * 
 * @Author <a href="mailto:lijing1@wxchina.com@wxchina.com">Lijin</a>
 * @Description:
 * @Create: 2021年6月21日
 */
public class CheckItem  {
	private String id;
	private String itemTitle;
	private boolean answer;

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		CheckItem checkItem = (CheckItem) o;
		return id.equals(checkItem.id);
	}

	@Override
	public int hashCode() {
		return Objects.hash(id);
	}

	/**
	 * @return the itemTitle
	 */
	public String getItemTitle() {
		return itemTitle;
	}
	/**
	 * @param itemTitle the itemTitle to set
	 */
	public void setItemTitle(String itemTitle) {
		this.itemTitle = itemTitle;
	}
	/**
	 * @return the answer
	 */
	public boolean isAnswer() {
		return answer;
	}
	/**
	 * @param answer the answer to set
	 */
	public void setAnswer(boolean answer) {
		this.answer = answer;
	}


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
}
